<?php
//=========================
//Vuong Van Binh
//Wanbin@vietnambiz.com
//Process logout
//=========================
session_start();
defined('ADMIN_BASE_DIR') || define('ADMIN_BASE_DIR', realpath(dirname(__FILE__)));
include ADMIN_BASE_DIR."/config/config.php";
include ADMIN_BASE_DIR."/config/init.php";

unset($_SESSION['adlogin']);
//session_destroy();

@header("location: ".ADMIN_URL."/login.php");
?>